<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    /* .parent-div {
      width: 300px;
    } */
    .float-div {
      float: left;
      width: 100px;
    }
  </style>
</head>
<body>
  <div class="parent-div">
    <div class="float-div" style="background: lemonchiffon;">我</div>
    <div class="float-div" style="background: rgb(48, 179, 81);">你</div>
    <div class="float-div" style="background: rgb(46, 127, 165);">他</div>
    <div class="float-div" style="background: rgb(135, 28, 150);">她</div>
    <!-- <div style="clear:both"></div> -->
  </div>
</body>
</html>